<?php
  require_once('config.php');
	#doc
	#	classname:	utils
	#	scope:		PUBLIC
	#	desc:		расходные материалы
	#
	#/doc

	class Utils {

		#	internal variables
		public static $_instance = NULL;

		#	Singleton pattern
		public static function getInstance() {
			if (is_null(self::$_instance)) {
				$class = __CLASS__;
				self::$_instance = new $class();
			}
			return self::$_instance;
		}

		public function setTitle($title) {
			print "<title>".Config::_TITLE_." ".Config::_DIVIDER_." ".$title."</title>";
		}
	}
	###

?>

